import React, { FC, useState } from "react"
import { Input } from "antd"

const { Search } = Input

const ListSearch: FC = () => {
  const [value, setValue] = useState("")

  function handleSearch(value: string) {
    console.log("value", value)
  }

  return (
    <>
      <Search
        placeholder="请输入关键字"
        onSearch={handleSearch}
        style={{ width: "250px" }}
      ></Search>
    </>
  )
}

export default ListSearch
